<div class="fixed-sidebar-left">
    <ul class="nav navbar-nav side-nav nicescroll-bar">
        <li class="navigation-header">
            <span>天翼云2.0</span>
            <i class="zmdi zmdi-more"></i>
        </li>
        <li>
            <a href="{:url('admin/index/index')}"><div class="pull-left"><i class="fa fa-home mr-20"></i><span class="right-nav-text">系统首页</span></div><div class="clearfix"></div></a>
        </li>
        <li><hr class="light-grey-hr mb-10"/></li>
        {notempty name='navGroup'}
        {foreach name='navGroup' item='value'}
        {php}
        $nav = \think\Db::name('admin_nav')
            ->field('title, thumb, url')
            ->where('group_id', $value['id'])
            ->where('status', 1)
            ->where('id', 'in', $navList)
            ->order('sort asc')
            ->select();
        {/php}
        <li class="navigation-header">
            <span>{$value.title}</span>
            <i class="zmdi zmdi-more"></i>
        </li>
        {notempty name='nav'}
        {foreach name='nav' item='val'}
        <li>
            <a href="{notempty name='val.url'}{:url($val['url'])}{else /}javascript:;{/notempty}"><div class="pull-left"><i class="fa {$val.thumb} mr-20"></i><span class="right-nav-text">{$val.title}</span></div><div class="clearfix"></div></a>
        </li>
        {/foreach}
        {/notempty}
        {/foreach}
        {/notempty}

        <!--<li class="navigation-header">
            <span>文章管理</span>
            <i class="zmdi zmdi-more"></i>
        </li>
        <li>
            <a href="{:url('admin/category/index')}"><div class="pull-left"><i class="fa fa-cubes mr-20"></i><span class="right-nav-text">栏目管理</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/pages/index')}"><div class="pull-left"><i class="fa fa-file-text-o mr-20"></i><span class="right-nav-text">单页信息</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/article/index')}"><div class="pull-left"><i class="fa fa-list mr-20"></i><span class="right-nav-text">列表信息</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/article/recycle')}"><div class="pull-left"><i class="fa fa-trash-o mr-20"></i><span class="right-nav-text">回收站</span></div><div class="clearfix"></div></a>
        </li>
        <li><hr class="light-grey-hr mb-10"/></li>
        <li class="navigation-header">
            <span>系统管理</span>
            <i class="zmdi zmdi-more"></i>
        </li>
        <li>
            <a href="{:url('admin/system/index')}"><div class="pull-left"><i class="fa fa-cogs mr-20"></i><span class="right-nav-text">系统设置</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/template/index')}"><div class="pull-left"><i class="fa fa-link mr-20"></i><span class="right-nav-text">模版设置</span></div><div class="clearfix"></div></a>
        </li>

        <li>
            <a href="{:url('admin/jurisdiction/index')}"><div class="pull-left"><i class="fa fa-unlock-alt mr-20"></i><span class="right-nav-text">权限分组</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/admin/index')}"><div class="pull-left"><i class="fa fa-users mr-20"></i><span class="right-nav-text">管理员管理</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/template/index')}"><div class="pull-left"><i class="fa fa-file-image-o mr-20"></i><span class="right-nav-text">幻灯片分类</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/template/index')}"><div class="pull-left"><i class="fa fa-image mr-20"></i><span class="right-nav-text">幻灯片列表</span></div><div class="clearfix"></div></a>
        </li>
        <li><hr class="light-grey-hr mb-10"/></li>
        <li class="navigation-header">
            <span>缓存管理</span>
            <i class="zmdi zmdi-more"></i>
        </li>
        <li>
            <a href="{:url('admin/html_cache/clearCahahe')}"><div class="pull-left"><i class="fa fa-refresh mr-20"></i><span class="right-nav-text">清空缓存</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/html_cache/createHomePage')}"><div class="pull-left"><i class="fa  fa-tachometer mr-20"></i><span class="right-nav-text">生成主页</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="{:url('admin/html_cache/createCategoryPage')}"><div class="pull-left"><i class="fa fa-th-list mr-20"></i><span class="right-nav-text">生成栏目页</span></div><div class="clearfix"></div></a>
        </li>
        <li><hr class="light-grey-hr mb-10"/></li>
        <li class="navigation-header">
            <span>插件管理</span>
            <i class="zmdi zmdi-more"></i>
        </li>
        <li>
            <a href="{:url('admin/message/index')}"><div class="pull-left"><i class="fa  fa-envelope-o mr-20"></i><span class="right-nav-text">留言管理</span></div><div class="clearfix"></div></a>
        </li>
        <li>
            <a href="javascript:void(0);"><div class="pull-left"><i class="fa fa-wrench mr-20"></i><span class="right-nav-text">正在开发中...</span></div><div class="clearfix"></div></a>
        </li>-->
    </ul>
</div>